home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 32
/
Mac Magazin and MacEasy Magazine CD - Issue 32.iso
/
Grafik & Text
/
OzTeX3.0
/
Metafont
/
Help
/
MakeTeXPK
< prev
next >
Wrap
Text File
|
1997-02-19
|
3KB
|
60 lines
MakeTeXPK reads a given text file, usually with a .make extension,
and uses commands in the file to build one or more PK fonts.
You don't need to create .make files yourself. When using OzTeX
to view or print a DVI file, just tick the "Make missing PK fonts"
box and, if a PK font is missing, OzTeX will pass a temporary file
called OzTeX-to-OzMF.make to OzMF so that MakeTeXPK will create the
required PK file.
If the "Make missing PK fonts" box is unchecked when OzTeX detects a
missing PK font then it will append a suitable line to a file called
missfont.make (specified in OzTeX's Default config). You can then
give this file to MakeTeXPK at a later date to build all PK files
in one go; this is recommended if you have an old Mac because making
PK files can be a slow process.
If you really want to create your own .make file to build some new
PK fonts then each line must have the following format:
MakeTeXPK name dpi bdpi mag mode
where `name' is the name of the font, such as `cmr10'; `dpi' is the
resolution the font is needed at; `bdpi' is the base resolution;
`mag' is a string passed to Metafont as the font magnification;
and `mode' is the mode_def to use.
For each line in the file, MakeTeXPK runs Metafont to build a
GF file, then runs GFtoPK to convert that GF file into a PK file.
For example, given a file with the following lines:
MakeTeXPK logo10 120 360 0.33333 stylewriter
MakeTeXPK logo10 329 300 magstep(0.5) laserwriter
MakeTeXPK would create two PK files: logo10.120pk and logo10.329pk.
Note that MakeTeXPK will keep processing if errors occur.
All error messages are appended to a MakeTeXPK.log file in the
same folder as the .make file.
MakeTeXPK uses a number of configuration file parameters:
The pk_file parameter tells MakeTeXPK where to create PK files.
The Default setting is ":PK-files:%f.%dpk". This matches one of
the templates in the pk_files list used by OzTeX.
The maketexpk_base parameter tells MakeTeXPK which base file to
pass to Metafont. The Default setting is "MakeTeXPK", so Metafont
will use MakeTeXPK.base. This base file has all the mode_defs for
Mac printers, plus some other settings suitable for Mac screens
(see MakeTeXPK.mf in :Metafont:Inputs:).
The delete_log, delete_tfm and delete_gf flags tell MakeTeXPK if
it should automatically delete the .log, .tfm and .gf files after
creating a PK file. The PK file is normally the only one needed
so the Default config sets all these flags to "true".
If the auto_quit flag is "true" then OzMF quits after all lines
in a .make file have been successfully processed. This might be
useful if you don't have much free memory. The Default config
sets auto_quit to "false".